//
//  TransactionRecordsModel.m
//  WorkNest
//
//  Created by giantumbrella on 15/7/28.
//  Copyright (c) 2015年 nest. All rights reserved.
//

#import "TransactionRecordsModel.h"

@implementation TransactionRecordsModel

- (void)decodeDic:(NSDictionary *)dic
{
    if (dic) {
        if (![[dic objectForKey:@"transrecImgRUL"] isKindOfClass:[NSNull class]]) {
            self.transrecImgRUL = [dic objectForKey:@"transrecImgRUL"];
        }
        if (![[dic objectForKey:@"transrecOrderNum"] isKindOfClass:[NSNull class]]) {
            self.transrecOrderNum = [dic objectForKey:@"transrecOrderNum"];
        }
        if (![[dic objectForKey:@"transrecTitle"] isKindOfClass:[NSNull class]]) {
            self.transrecTitle = [dic objectForKey:@"transrecTitle"];
        }
    
        if (![[dic objectForKey:@"transrecPrice"] isKindOfClass:[NSNull class]]) {
            self.transrecPrice = [dic objectForKey:@"transrecPrice"];
        }

        if (![[dic objectForKey:@"transrecCode"] isKindOfClass:[NSNull class]]) {
            self.transrecCode = [dic objectForKey:@"transrecCode"];
        }

        if (![[dic objectForKey:@"transrecCreateTime"] isKindOfClass:[NSNull class]]) {
            self.transrecCreateTime = [dic objectForKey:@"transrecCreateTime"];
        }

        if (![[dic objectForKey:@"transrectransNum"] isKindOfClass:[NSNull class]]) {
            self.transrectransNum = [dic objectForKey:@"transrectransNum"];
        }
        if (![[dic objectForKey:@"transrecPayType"] isKindOfClass:[NSNull class]]) {
            self.transrecPayType = [dic objectForKey:@"transrecPayType"];
        }
    }
}
@end
